//
//  MovieModel.m
//  UIhomework_14
//
//  Created by dllo on 15/12/31.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "MovieModel.h"

@implementation MovieModel
+ (MovieModel *)movieModel{
    return [[[MovieModel alloc] init] autorelease];
    
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"images"]) {
        NSMutableDictionary *dic = [NSMutableDictionary dictionaryWithDictionary:value];
        self.image = dic[@"large"];
    }
}
- (id)valueForUndefinedKey:(NSString *)key{
    return nil;
}
@end
